package com.ncloud.resman.service;

import java.io.IOException;
import java.io.InputStream;

import javax.servlet.http.HttpServletResponse;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ncloud.resman.entity.Cabinet;

public interface CabinetService {
	public JSONArray getCabinetInfo(JSONObject json);
	public int insertCabinet(Cabinet cabinet);
	public int updateCabinet(Cabinet cabinet);
	public int deleteCabinet(Long companyId);
	int exportCabinet(JSONObject json,HttpServletResponse response) throws IOException ;
	int importCabinet(Long userId, InputStream inputStream);
	int exportTemplate(HttpServletResponse response) throws IOException ;
	Cabinet getRommIdByCabinetCode(String cabinetCaode);
}
